package com.lrs.java.j2se_self.collectionReview;
import java.util.*;
public class ViewEquals {
	public static void main(String[] args){
		Collection c = new ArrayList();
		c.add(new Integer(100));
		c.add("my collection!");
		c.add(new CompanyName("l","z"));
		System.out.println(c);
		c.remove(new String("my collection!"));
		c.remove(new Integer(100));
		System.out.println(c.remove(new CompanyName("l","z")));
		System.out.println(c);
	}
	
}
